#if !defined(__DVC_STATUS_H__)
#define __DVC_STATUS_H__

#include "dvc_common.h"

/* 更新状态和电流电压信息 */
uint8_t dvc_get_status_current_voltage(dvc_t dvc);
/* 更新电池电压信息 */
uint8_t dvc_get_bat_voltage(dvc_t dvc);
/* 更新内外部温度信息 */
uint8_t dvc_get_temp(dvc_t dvc);
void dvc_get_state_to(dvc_t dvc, uint8_t *data, uint16_t len);
uint16_t dvc_get_result_to(dvc_t dvc, uint8_t *data, uint16_t len);
uint16_t dvc_get_result_to_bemfa(dvc_t dvc, uint8_t *data, uint16_t len);
/* 清除警报 */
uint8_t dvc_clear_alert(dvc_t dvc, uint8_t flag);

#endif // __DVC_STATUS_H__
